package com.design.working.po.student;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * @author gavin
 * @date 2022/6/25 12:15
 */
public class StudentSalaryPO {

    private Integer year;

    private Integer term;

    private LocalDate date;

    private String dept;

    private String name;

    private BigDecimal salary;

    private Integer settled;

    public StudentSalaryPO() {
    }

    public StudentSalaryPO(Integer year, Integer term, LocalDate date, String dept, String name, BigDecimal salary, Integer settled) {
        this.year = year;
        this.term = term;
        this.date = date;
        this.dept = dept;
        this.name = name;
        this.salary = salary;
        this.settled = settled;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public Integer getTerm() {
        return term;
    }

    public void setTerm(Integer term) {
        this.term = term;
    }

    public LocalDate getDate() {
        return date;
    }

    public void setDate(LocalDate date) {
        this.date = date;
    }

    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getSalary() {
        return salary;
    }

    public void setSalary(BigDecimal salary) {
        this.salary = salary;
    }

    public Integer getSettled() {
        return settled;
    }

    public void setSettled(Integer settled) {
        this.settled = settled;
    }

    @Override
    public String toString() {
        return "StudentSalaryPO{" +
                "year=" + year +
                ", term=" + term +
                ", date=" + date +
                ", dept='" + dept + '\'' +
                ", name='" + name + '\'' +
                ", salary=" + salary +
                ", settled=" + settled +
                '}';
    }
}
